package com.ctsi.security.domain;

import java.io.Serializable;

 

/**
 * 
 * 安全管理角色
 * 
 * @author gbk
 * 
 */
public class SRole implements Serializable{
	private String roleId;
	private String roleName;
	private String description;
	private String dataObject;
	private String parentRoleId;
	private String moduleType;
	private String secondModuleType;
	private Long sortNum;
	//业务类型
	private String businessId;
	//所属组织
	private String organiseId;
	private String organiseName;
	private String roleType;
	
	public String getOrganiseName() {
		return organiseName;
	}
	public void setOrganiseName(String organiseName) {
		this.organiseName = organiseName;
	}
	public String getOrganiseId() {
		return organiseId;
	}
	public void setOrganiseId(String organiseId) {
		this.organiseId = organiseId;
	}
	public String getBusinessId() {
		return businessId;
	}
	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}
	public Long getSortNum() {
		if (sortNum==null){
			return System.currentTimeMillis();
		}else{
			return sortNum;
		}
		
	}
	public void setSortNum(Long sortNum) {
		this.sortNum = sortNum;
	}
	public String getParentRoleId() {
		return parentRoleId;
	}
	public void setParentRoleId(String parentRoleId) {
		this.parentRoleId = parentRoleId;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getDataObject() {
		return dataObject;
	}
	public void setDataObject(String dataObject) {
		this.dataObject = dataObject;
	}
	public String getModuleType() {
		return moduleType;
	}
	public void setModuleType(String moduleType) {
		this.moduleType = moduleType;
	}
	public String getSecondModuleType() {
		return secondModuleType;
	}
	public void setSecondModuleType(String secondModuleType) {
		this.secondModuleType = secondModuleType;
	}
	public String getRoleType() {
		return roleType;
	}
	public void setRoleType(String roleType) {
		this.roleType = roleType;
	}
	
}
